"""
Runs figeaf and reports code coverage
"""
import figleaf

figleaf.start()
import test_all
test_all.execute()
figleaf.stop()

figleaf.write_coverage('.figleaf')

data = figleaf.get_data().gather_files()

from figleaf import annotate_html
annotate_html.report_as_html( data, 'coverage-reports', [] )
